//封装请求方法
import axios from "axios"
const getWuhanBuildings = async () => {
  return axios.get("http://localhost:8081/Wuhan_buildings")
}
const getWuhanRoads = async () => {
  return axios.get("http://localhost:8081/Wuhan_roads")
}
const getWuhanEvents = async () => {
  return axios.get("http://localhost:8081/Wuhan_events")
}
const getWuhanBridges = async () => {
  return axios.get("http://localhost:8081/Wuhan_bridge")
}
export { getWuhanBuildings, getWuhanRoads, getWuhanEvents, getWuhanBridges }
